{php include pubTemplate("header")}

<div class="container">


  <nav aria-label="breadcrumb">
    <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
        <li class="breadcrumb-item"><a href="{tsUrl('group')}">{$TS_APP['appname']}</a></li>
        <li class="breadcrumb-item"><a href="{tsUrl('group','show',array('id'=>$strGroup['groupid']))}">{$strGroup['groupname']}</a></li>
        <li class="breadcrumb-item active" aria-current="page">帖子审核</li>
        
    </ol>
</nav>



<div class="row">
<div class="col-md-8">

<div class="card">

  <div class="card-header">审核帖子</div>

<div class="card-body">

<table class="table table-hover">

<thead class=" thead-light">
<tr>
  
  
  <th>帖子标题</th>

  <th>用户ID</th>

  <th>时间</th>

  <th>操作</th>

</tr>
</thead>

<tbody>
{loop $arrTopic $key $item}
<tr>
  
  <td><a target="_blank" href="{tsUrl('topic','show',array('id'=>$item['topicid']))}">{$item['title']}</a></td>
  
  <td>{$item['userid']}</td>

  <td>{php echo date('Y-m-d H:i:s',$item['addtime'])}</td>
  
  <td>

<a href="{SITE_URL}index.php?app=group&ac=audit&ts=do&topicid={$item['topicid']}&groupid={$item['groupid']}">审核</a> |  
<a href="{SITE_URL}index.php?app=group&ac=audit&ts=delete&topicid={$item['topicid']}&groupid={$item['groupid']}" onClick="return confirm('确定删除吗？')">删除</a>


</td></tr>
{/loop}
</tbody>

</table>

</div>
</div>

</div>


<div class="col-md-4">

<div class="card">
<div class="card-body">
<a class="btn btn-sm btn-outline-info" href="{tsUrl('group','show',array('id'=>$groupid))}">返回《{$strGroup['groupname']}》小组</a>
</div>
</div>

</div>
</div>
</div>

{php include pubTemplate("footer")}